package com.design.pattern.adapter.classpattern;

import com.design.pattern.adapter.PowerStrip;

/**
 * 类适配器模式
 */
public class PhoneA {
    public static void power(){
        PowerStrip ps = new PhoneAdapter();
        ps.charger("手机");
    }
}
